package com.yuan.fmmall.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Yuan
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CategoryVO {

    private Integer categoryId;
    private String categoryName;
    private Integer categoryLevel;
    private Integer parentId;
    private String categoryIcon;
    private String categorySlogan;
    private String categoryPic;
    private String categoryBgColor;


    //用于存储当前分类的子分类
    private List<CategoryVO> categories;

    public List<CategoryVO> getCategories() {
        return categories;
    }

}
